<h1>IT Department Primer</h1>
<b>Adding and removing programs in Fedora Linux</b>
<br>
<br><a href="index.html">Back to Home</a>
<br>
<br>The easiest way to install programs in Fedora is by clicking System>Administration>Add/Remove Software in the menu. It will show all programs available for installation. Just check the checkbox for the programs you like and click Apply.
<br>
<br>To install programs through the command line in Fedora, you login as root and type "yum install [programname]". For example, "yum install php5" or "yum install workaholic"
<br>
<br>If you haven't used yum for quite a while, it might need to update its program lists. You can do this with "yum update". yum install does this automatically, though.
<br>
<br>In Debian/Red Hat linux uses the command "apt-get" instead of "yum", but they do pretty much the same thing. To see what programs are available with apt-get, type "apt-cache search php" to display all installable programs with names that include "php".
<br>
<br>Not all programs can be installed using Add/Remove Software or Yum, however. Sometimes you need to download the installer.
<br>
<br>For installers with the extension .sh, for example "javaapplicationserver.sh" you need to go to the command line, move to the folder containing the .sh file, and type "sh javaapplicationserver". (If that doesn't work, try "sh javaapplicationserver.sh")
<br>
<br>For running scripts (meaning files containing command line instructions - example, "httpdrestart") type "./httpdrestart". Scripts are very useful to run commands you use a lot. They are the Linux counterpart of Windows batch files. I use this with symfony to rebuild models and databases. (See the "rebuild" file in the root folder of my symfony programs.)
<br>
<br>Package files with the extension ".deb" are installers for Debian Linux. ".rpm" files are installers for Red Hat Linux. You can install them in Fedora, as far as I know, but I don't know how. Check out Google for more information.
<br>
<br>
<br>

